﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/images/LogotipoSinRIF.ico")" rel="shortcut icon" />
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/ValidationScript.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/JsonScript.js")" type="text/javascript"></script>
</head>
<body>
      <div class="blok_header">
            <div class="header">
              <div class="logo"></div>
                <div id="logindisplay">
                    @Html.Partial("_LogOnPartial")
                </div>
                @if (Request.IsAuthenticated)
                {
                <div id="menucontainer">
                    <ul id="menu">
                    @if (User.IsInRole("Guest_C") || User.IsInRole("Guest_H") || User.IsInRole("Guest_I") || User.IsInRole("Guest_FAIL"))
                    {
                        <li>@Html.ActionLink("Bienvenidos", "Index", "Home")</li><!-- ENFOCADO A NOTICIAS -->
                        <li>@Html.ActionLink("Pago de Cuotas", "CuotasGuest", "Account")</li>
                        <li>@Html.ActionLink("Ticket Soporte", "SearchIndexG", "Post_CYT")</li>
                        <li>@Html.ActionLink("Descarga de Archivos", "WebFileManager", "Home")</li>
                        <li><i>@Html.ActionLink("LaTareaCYT", "ReporteGeneralGuest", "Problemario")</i></li>
                        @*<li><i>@Html.ActionLink("LaTareaCYT", "About", "Home")</i></li>*@<!-- CAMBIAR A RUTA REAL-->
                    }
                     @if (User.IsInRole("Admin"))
                     {
                        <li><div id="containerCuotas"></div></li>
                        <li><div id="containerPost"></div></li>
                        <li>@Html.ActionLink("Manejador de Archivos", "WebFileManager", "Home")</li>
                        <li><i>@Html.ActionLink("LaTareaCYT", "Index", "Problemario")</i></li>
                        @*<li><i>@Html.ActionLink("LaTareaCYT", "About", "Home")</i></li>*@<!-- CAMBIAR A RUTA REAL-->
                        <li>@Html.ActionLink("Usuarios", "SearchIndex", "Account")</li>
                    }
                    </ul>
                </div>
                }
                    <div class="clr"></div>
              </div>
              <div class="clr"></div>
            </div>
            <div class="clr"></div>
        <div class="header_text_bg2">
             <div class="header_text2">
                <h2>Curso PRE-UNIVERSITARIO</h2>
            </div>
        </div>
    <div class="page">
        <div id="main">
            @RenderBody()
        </div>
        <div id="footer">
        </div>
    </div>
</body>
</html>